package com.tadpole.music.bean.study;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/29
 */
public class MoNiQuestionErrorBean {

    /**
     * code : 200
     * data : {"current_page":1,"total":4,"data":[{"id":9,"college":"中央音乐学院","rank":"初级","class":"节奏识别","num":7,"created_at":"2020-09-27 14:05:23","time":1},{"id":8,"college":"中央音乐学院","rank":"初级","class":"节奏识别","num":10,"created_at":"2020-09-21 15:22:28","time":232},{"id":7,"college":"中央音乐学院","rank":"中级","class":"音级辨别","num":5,"created_at":"2020-09-21 15:11:52","time":23},{"id":6,"college":"中央音乐学院","rank":"中级","class":"符号听辨","num":9,"created_at":"2020-09-21 15:10:14","time":233}],"page_size":10,"last_page":1}
     * msg : success
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        /**
         * current_page : 1
         * total : 4
         * data : [{"id":9,"college":"中央音乐学院","rank":"初级","class":"节奏识别","num":7,"created_at":"2020-09-27 14:05:23","time":1},{"id":8,"college":"中央音乐学院","rank":"初级","class":"节奏识别","num":10,"created_at":"2020-09-21 15:22:28","time":232},{"id":7,"college":"中央音乐学院","rank":"中级","class":"音级辨别","num":5,"created_at":"2020-09-21 15:11:52","time":23},{"id":6,"college":"中央音乐学院","rank":"中级","class":"符号听辨","num":9,"created_at":"2020-09-21 15:10:14","time":233}]
         * page_size : 10
         * last_page : 1
         */

        private int current_page;
        private int total;
        private int page_size;
        private int last_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 9
             * college : 中央音乐学院
             * rank : 初级
             * class : 节奏识别
             * num : 7
             * created_at : 2020-09-27 14:05:23
             * time : 1
             */

            private int id;
            private String college;
            private String rank;
            @SerializedName("class")
            private String classX;
            private int num;
            private String created_at;
            private int time;

            public DataBean(int id, String college, String rank, String classX, int num, String created_at, int time) {
                this.id = id;
                this.college = college;
                this.rank = rank;
                this.classX = classX;
                this.num = num;
                this.created_at = created_at;
                this.time = time;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCollege() {
                return college;
            }

            public void setCollege(String college) {
                this.college = college;
            }

            public String getRank() {
                return rank;
            }

            public void setRank(String rank) {
                this.rank = rank;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getTime() {
                return time;
            }

            public void setTime(int time) {
                this.time = time;
            }
        }
    }
}
